package com.iotek.bookstore.modle.entity;

public class Order {
    private long id;
    private  int userId;
    private long addressId;
    private double price;

    public Order() {
    }

    public Order(long id, int userId, long addressId, double price) {
        this.id = id;
        this.userId = userId;
        this.addressId = addressId;
        this.price = price;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public long getAddressId() {
        return addressId;
    }

    public void setAddressId(long addressId) {
        this.addressId = addressId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
